Watch events may get lost, the xenstored response races against the new
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 31 Oct 2005 16:07:14 +0000 (17:07 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 31 Oct 2005 16:07:14 +0000 (17:07 +0100)
commit2fb80a5353f823af1d593e1f69e02ff5acee0595
tree19ed4964c7fc18b907a8d6055732ae8151c96cd0
parent2442eccf6d37ed84a45a03b7fa0c1af58b1f0c80
Watch events may get lost, the xenstored response races against the new
watch being added to the watch list in register_xenbus_watch().  Fixed
by adding the watch to the list unconditionally, and remove it in the
error case.
linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.c